package com.pactera.miyuangroup.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.pactera.miyuangroup.db.entity.GoodsInfo;
import com.baomidou.mybatisplus.service.IService;
import com.pactera.miyuangroup.vo.request.web.GoodsInfoReques;
import com.pactera.miyuangroup.vo.response.web.GoodsInfoRes;

/**
 * <p>
 * 商品信息 服务类
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
public interface GoodsInfoService extends IService<GoodsInfo> {

    /*
    * 查询商品信息
    * */
    Page<GoodsInfoRes> getGoodsInfoList(GoodsInfoReques goodsInfoReques);


    /**
     * 同步商品信息
     */
    boolean syncGoodsInfo();

    /**
     * 定时任务同步
     */
    void syncMiyuanGoodsInfo();
}
